package com.mmx.mapper;



import com.mmx.domain.entity.FlowTask;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @desc: 流程任务
 * @author: liushuai
 * @date: 2023/2/3 13:52
 */
@Mapper
public interface FlowTaskMapper {


    /**
     * 批量插入流程任务
     * @param tasks
     * @Author: liushuai
     * @Date: 2023/3/30 15:43
     */
    void insertTaskBatch(List<FlowTask> tasks);

    /**
     * 根据任务id查询流程任务
     * @param taskId
     * @return: com.mmx.domain.entity.FlowTask
     * @Author: liushuai
     * @Date: 2023/3/30 15:43
     */
    FlowTask selectTaskByTaskId(Long taskId);
}
